from PySide.QtCore import *
from PySide.QtGui import *
from PySide.QtSql import *

from ui_elements.settings import Ui_SettingsDialog


class Settings(QDialog, Ui_SettingsDialog):
    
    def __init__(self, icon, *args, **kwargs):
        QDialog.__init__(self, *args, **kwargs)
        self.setWindowIcon(icon)
        self.setup()
        
    def setup(self):
        self.setupUi(self)